#pragma once

#include "SFMLInclude.h"
#include <fstream>

#define MAX_CHARS_PER_LINE 1024
#define GAME_PI 3.1415927
typedef unsigned int UINT;
struct WindowSettings
{
	sf::VideoMode MainMode;
	std::string WindowTitle;
	sf::Uint32 WindowStyle;
	sf::ContextSettings MainWindowSettings;

	WindowSettings()
	{
		MainMode = sf::VideoMode();
		WindowTitle = "";
		WindowStyle = 0;
		MainWindowSettings = sf::ContextSettings();
	}
};

std::string GetStringFromChar(char *MainString);

WindowSettings GetWindowSettings( std::string FileName );
bool CheckFrontCharString(char *MainString, UINT MainStringLength, std::string CheckFor);
void ClearCharBuffer( char *ClearMe, UINT Length);
int CharToInt(char *ConvertMe);

float RadToDeg( float Radians );
float DegToRad( float Degrees );